package com.guigu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("order")
public class Order {
    @TableId(type = IdType.AUTO)
    private int id;
    private String orderId;
    private int userId;
    private int totalNumber;
    private int totalAmount;
    private String address;
    //时间yyyy-MM-dd HH:mm:ss
    private String orderTime;
    @TableField("STATUS")
    private int status;

}
